/// Stalin sort implementation in SCSS
/// @param {list} $list
/// @return {list} $final
@function stalin($list) {
  $bigger: 0;
  $final: ();

  @for $i from 1 through length($list) {
    @if nth($list, $i) >= $bigger {
      $bigger: nth($list, $i);
      $final: append($final, nth($list, $i));
    }
  }

  @return $final;
}
